<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<html>
<head>
<title>Register</title>
<link href="/css/bootstrap.css" rel='stylesheet' type='text/css' />
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!-- Custom Theme files -->
<link href="/css/style.css" rel='stylesheet' type='text/css' />
<!-- Custom Theme files -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Hotel Deluxe Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<!--webfont-->
<link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
<!--<link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>-->
<script type="text/javascript" src="/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="/js/login.js"></script>
<!--Animation-->
<script src="/js/wow.min.js"></script>
<link href="/css/animate.css" rel='stylesheet' type='text/css' />
<script>
	new WOW().init();
</script>
</head>
<body>

   <div class="living_middle wow fadeInUp" data-wow-delay="0.4s">
   	  <div class="container">
   	  	<h2>用户注册</h2>
   	  	  <form action="/user/add"  method="post" id="form">
					<div class="to">
                     	<input type="text"  name="username" id="username" placeholder="用户名" style="margin-left:5px">
					 	<input type="text"  name="displayName"  id="displayName" placeholder="昵称" style="margin-left:5px">
					 	<input type="password"  placeholder="密码" name="password" id="password" value=""  style="margin-left:5px">
						<input type="text"  name="tel" id="tel" placeholder="联系方式"  style="margin-left:5px">
                        <input type="text"  name="gender" id="gender" placeholder="性别" style="margin-left:5px">
                        <input type="text"  name="city" id="city" placeholder="城市" style="margin-left:5px">
					 	<div class="clearfix"></div>
					</div>
	                <div class="form-submit1">
                       <span th:if="${registerFailure}" th:text="'failure:' + ${msg}" style="color: red"></span>
                        <br>
			           <input name="register"  id="register" type="submit"  value="立即注册">   <!--id=submit-->
						<a href="/"><input name="register"  type="button"  value="返回首页"></a>
					</div>
					<div class="clearfix"></div>
          </form>
   	  </div>	  
   </div>
    <div class="footer">
	    <div class="container"></div>
		<div class="footer_top">
			<h3>&nbsp;</h3>
			<h3>四川大学酒店订购系统</h3>
			<h3>Team 22</h3>
		</div>
	</div>
</body>
</html>		